import { customizedRequest } from '@apulis/request';
import {
  APFLOW_PREFIX,
  APEDGE_PREFIX,
  APSC_PREFIX,
  APWSF_PREFIX,
  APHF_PREFIX,
  AOM_PREFEX,
  IAM_PREFEX,
  APDEVICE_PREFIX,
} from './const';
export const flowRequest = customizedRequest(APFLOW_PREFIX);

export const edgeRequest = customizedRequest(APEDGE_PREFIX);
export const apscRequest = customizedRequest(APSC_PREFIX);
export const apwsfRequest = customizedRequest(APWSF_PREFIX);
export const aphfRequest = customizedRequest(APHF_PREFIX);
export const apdeviceRequest = customizedRequest(APDEVICE_PREFIX);
export const aomRequest = customizedRequest(AOM_PREFEX);
export const iamRequest = customizedRequest(IAM_PREFEX);

export const mockRequest = customizedRequest('/api')
